[INFO] cloning repository https://github.com/GregMitch/c-compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GregMitch/c-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGregMitch%2Fc-compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGregMitch%2Fc-compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3a29b4b9d19f1f8af2c2a91e5f2bb003a9c6542f
[INFO] fixing GregMitch/c-compiler against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGregMitch%2Fc-compiler" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/GregMitch/c-compiler
[INFO] finished tweaking git repo https://github.com/GregMitch/c-compiler
[INFO] tweaked toml for git repo https://github.com/GregMitch/c-compiler written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/GregMitch/c-compiler on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/GregMitch/c-compiler already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c72ef50eafdd61c0d9af5fd98d340c2631d5b37df78f67e767f579c47e9393f7
[INFO] running `Command { std: "docker" "start" "c72ef50eafdd61c0d9af5fd98d340c2631d5b37df78f67e767f579c47e9393f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c72ef50eafdd61c0d9af5fd98d340c2631d5b37df78f67e767f579c47e9393f7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c72ef50eafdd61c0d9af5fd98d340c2631d5b37df78f67e767f579c47e9393f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c72ef50eafdd61c0d9af5fd98d340c2631d5b37df78f67e767f579c47e9393f7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking clap_builder v4.5.47
[INFO] [stderr]     Checking clap v4.5.47
[INFO] [stderr]     Checking blank v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]   --> src/main.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Parser, Debug)]
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]   --> src/main.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[command(version, about, long_about = None)]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[arg(short, long)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[arg(short, long)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[arg(short, long)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 |     #[arg(short, long,)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::ExitCode`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::process::ExitCode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]   --> src/main.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Parser, Debug)]
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use clap::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]   --> src/main.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[command(version, about, long_about = None)]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `Args` in the current scope
[INFO] [stdout]   --> src/main.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Args {
[INFO] [stdout]    | ----------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     let args = Args::parse();
[INFO] [stdout]    |                      ^^^^^ associated function or constant not found in `Args`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[arg(short, long)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[arg(short, long)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[arg(short, long)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 |     #[arg(short, long,)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::ExitCode`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::process::ExitCode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `Args` in the current scope
[INFO] [stdout]   --> src/main.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Args {
[INFO] [stdout]    | ----------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     let args = Args::parse();
[INFO] [stdout]    |                      ^^^^^ associated function or constant not found in `Args`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |              -------------------------- expected `Result<(), Box<(dyn std::error::Error + 'static)>>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 39 |     return 0;
[INFO] [stdout]    |            ^ expected `Result<(), Box<dyn Error>>`, found integer
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout]               found type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blank` (bin "blank") due to 8 previous errors; 1 warning emitted
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |              -------------------------- expected `Result<(), Box<(dyn std::error::Error + 'static)>>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 39 |     return 0;
[INFO] [stdout]    |            ^ expected `Result<(), Box<dyn Error>>`, found integer
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout]               found type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blank` (bin "blank" test) due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c72ef50eafdd61c0d9af5fd98d340c2631d5b37df78f67e767f579c47e9393f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c72ef50eafdd61c0d9af5fd98d340c2631d5b37df78f67e767f579c47e9393f7", kill_on_drop: false }`
[INFO] [stdout] c72ef50eafdd61c0d9af5fd98d340c2631d5b37df78f67e767f579c47e9393f7
